package com.analyst.dto.ui;

import lombok.Getter;

import java.util.Set;

/**
 * ClassName: GraphDataUI
 * Package: com.analyst.entity.ui
 * Description:
 *
 * @Author wk
 * @Create 2023/08/7 0007 下午 02:31:40
 * @Version 1.0
 */
@Getter
public class GraphDataUI {
    private Set<NodeUI> nodes;
    private Set<EdgeUI> edges;

    public GraphDataUI() {
    }

    public GraphDataUI(Set<NodeUI> nodes, Set<EdgeUI> edges) {
        this.nodes = nodes;
        this.edges = edges;
    }

    public Set<NodeUI> getNodes() {
        return nodes;
    }

    public void setNodes(Set<NodeUI> nodes) {
        this.nodes = nodes;
    }

    public Set<EdgeUI> getEdges() {
        return edges;
    }

    public void setEdges(Set<EdgeUI> edges) {
        this.edges = edges;
    }
}
